INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../core)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../components/app)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../components/graphics)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../components/input)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../components/ai)

ADD_EXECUTABLE(TryBehaviorTreesExample main.cpp logic.cpp nodes.cpp behavior1.cpp behavior2.cpp userbehavior.cpp)

TARGET_LINK_LIBRARIES(TryBehaviorTreesExample TryCore)
TARGET_LINK_LIBRARIES(TryBehaviorTreesExample TryApp)
TARGET_LINK_LIBRARIES(TryBehaviorTreesExample TryGraphics)
TARGET_LINK_LIBRARIES(TryBehaviorTreesExample TryInput)
TARGET_LINK_LIBRARIES(TryBehaviorTreesExample TryAI)

FILE(COPY data DESTINATION .)
